package com.menghanjun.mhjresourcesharing.mapper;

import com.menghanjun.mhjresourcesharing.entity.TBar;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.menghanjun.mhjresourcesharing.vo.TBarVo;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author menghanjun
 * @since 2024-05-26
 */
@Repository
public interface TBarMapper extends BaseMapper<TBar> {

    List<TBar> getBarListByType(@Param("type") String type);


    List<TBarVo> getBarList(TBar tBar);


    void updateBar(TBar tBar);
}
